package com.yuhang.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yuhang.demo.entity.RuleCondition;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RuleConditionMapper extends BaseMapper<RuleCondition> {
    /**
     * 根据规则ID查询条件列表
     * @param ruleId 规则ID
     * @return 条件列表
     */
    List<RuleCondition> selectByRuleId(@Param("ruleId") Long ruleId);
}
